package com.zclcs.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.zclcs.model.DataRet;

/**
 * 控制器
 * 
 * @author 周成龙
 *
 */
@RestController
public class IndexController {

	/**
	 * 未登录提示
	 * 
	 * @return
	 */
	@RequestMapping(value = "/unauth")
	public DataRet<Object> unauth() {
		DataRet<Object> dataRet = new DataRet<Object>();
		dataRet.setCode(50014);
		dataRet.setMessage("未登录");
		return dataRet;
	}

}
